package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import cn.wolfcode.luowowo.comment.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

public interface IStrategyCommentService {
    /**
     * 新增和更新攻略评论
     * @param strategyComment
     */
    void saveOrUpdate(StrategyComment strategyComment);

    /**
     * 分页查询
     * @param qo
     * @return
     */
    Page query(StrategyCommentQuery qo);

    /**
     * 点赞或取消点赞
     * @param commentId
     * @param userId
     */
    void commentThumbUp(String commentId, Long userId);
}
